package com.simple.piger.entity;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 职位
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
@TableName("job_title")@Data
public class JobTitle extends Model<JobTitle> {

    private static final long serialVersionUID = 1L;

	private String id;
	@TableField("parent_id")
	private String parentId;
	private String level;
	private String name;
	@TableField("create_time")
	private Date createTime;
	@TableField("update_time")
	private Date updateTime;
	@TableField("hot_job")
	private Integer hotJob;
	private String deleteFlag;

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "JobTitle{" +
			", id=" + id +
			", parentId=" + parentId +
			", level=" + level +
			", name=" + name +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			", hotJob=" + hotJob +
			"}";
	}
}
